<template>
	<view>
		<!--<z-nav-bar>搜索课程资料</z-nav-bar>-->
		<!--<public-module></public-module>-->
		<search preholder="搜索" @toSearch="toSearchFun"  ></search>
	</view>
</template>

<script>
	import search from '@/components/ay-search/search.vue';

	export default {
		components: {
			search,
		},
		data() {
			return {
				params: '',
			}
		},
		onLoad(option) {
			this.params = JSON.parse(decodeURIComponent(option.params));
		},
		methods: {
			toSearchFun(e) {
				console.log({
					e
				})
			},
			toAllFun(toAllFun) {
				console.log({
					toAllFun
				})
			},
		},

	}
</script>

<style scoped>
</style>
